home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / ramsave.zip / RAMSAVE.DOC < prev    next >
Text File  |  1992-02-22  |  8KB  |  184 lines

  1. Ramdisk Saver  ver 1.1   ShareWare Version.
  2. (c)1993 by TPA Electronics and Software, All Rights Reserved.
  3. -----------------------------------------------------------------------
  4. Ramdisk Saver is distributed as SHAREWARE.  If you use and like this
  5. program you are encourage to register and recieve your own copy.
  6. It may be distributed as long as all files are included intact.
  7. -----------------------------------------------------------------------
  8.  
  9. Ramdisk Saver copies all the files from the ram disk to a temporary
  10. directory on your hard drive or floppy before rebooting when 
  11. CTRL-ALT-DEL is pressed.  It also does the same when int 19h is used to 
  12. reboot the computer. (see the programming notes.)  The contents of the
  13. ram disk can then be restored after reboot. 
  14.  
  15. Ramdisk Saver was written because after some fairly extensive
  16. research no method of rebooting a PC without destroying the contents
  17. of memory was found.  Thus explaining why no ram disks that can 
  18. survive a reboot like those on Amiga, Mac, and Atari ST's has
  19. ever been written. (To my knowledge.)  Thus Ramdisk Saver was written
  20. as a not so elegant solution, allowing a pseudo-recoverable ram disk.
  21.  
  22.  
  23. -----------------------------------------------------------------------
  24. Ramdisk Save:
  25.    RAMSAVE (ram disk) (temporary directory)
  26.  
  27.     This is the resident portion of the program.  It is the
  28.     part that copies the files from the ram disk to the
  29.     temporary directory when CTRL-ALT-DEL is pressed (or int 19h
  30.     is called.)  The shareware version copies directory trees
  31.     up to 3 levels deep and requires a little more than 3K of 
  32.     memory.  It will not copy files from a drive to a directory
  33.     on the same drive or visa versa to prevent serious problems.
  34.     Invoking RAMSAVE a second time will remove it from memory.
  35.     If RAMSAVE is not the last program loaded and you try to
  36.     remove it may cause problems.
  37.     You must specify the full path name when running RAMSAVE.
  38.     RAMSAVE also attempts to close all open files and flush all
  39.     buffers and caches before rebooting.
  40.  
  41.     Examples:  RAMDISK E:\ C:\TEMP
  42.            -This will copy all files on drive E:\ to C:\TEMP
  43.             and preserves the directory sturcture.
  44.            RAMDISK F:\ C:\
  45.            -This will copy all files of drive F:\ to C:\
  46.             and preserves the directory sturcture.
  47.             This will copy to the root directory of drive C
  48.  
  49.  
  50. Ramdisk Restore:
  51.    RAMREST (ram disk) (temporary directory)
  52.  
  53.     This resores the entire directory tree from the temporary
  54.     directory to the ramdisk.  The shareware version copies
  55.     directory trees up to 3 levels deep.  You cannot copy from
  56.     a drive to a directory on the same drive or visa versa.
  57.  
  58.     Examples:  RAMREST E:\ C:\TEMP
  59.            -This copies all files under C:\TEMP to E:\
  60.             and preserves the directory structure.
  61.  
  62.  
  63. Reboot replacement for int 19h:
  64.    RAMBOOT
  65.     
  66.     This installs a resident reboot routing requireing 144 bytes
  67.     of memory.  You do not need to run this to use RAMSAVE.
  68.     RAMSAVE has this function built in.  This program is included
  69.     so timed reboot programs etc. written to be used with RAMSAVE 
  70.     can be used without needing RAMSAVE, and for those who wish
  71.     to use such programs and do not need RAMSAVE. (See the
  72.     programming notes.)  There are no command line options.
  73.     If run after RAMSAVE it will disable calling RAMSAVE with
  74.     int 19h.  Running RAMSAVE after RAMBOOT will disable the
  75.     effects of RAMBOOT.
  76.  
  77.  
  78. Reboot using int 19h:
  79.    REBOOTR
  80.  
  81.     This tremendously large program (a whole 2 bytes) will call
  82.     int 19h which will reboot the computer without copying the
  83.     files from the ramdisk if RAMBOOT is loaded, and will copy
  84.     the files from the ram disk and reboot if RAMSAVE is loaded.
  85.  
  86.  
  87. -----------------------------------------------------------------------
  88. Registration benefits:
  89.     
  90.     The registered version:
  91.     - Saves directory trees up to 10 levels deep.
  92.     - Displaying of files being copied is optional. 
  93.     - RAMSAVE is much smaller requireing less than 2K of memory,
  94.       or you may increast the size of RAMSAVE over 2K for faster
  95.       backup.
  96.     - The resident size of RAMSAVE can be increased to allow
  97.       faster copying of the ramdisk.
  98.     - Command line options allowing deinstallation and changing
  99.       of ramdisk and temporary directory paths without deinstalling
  100.       will be implimented.
  101.     - RAMREST has a much faster copy restore.
  102.     - Optional removal of restored files. (ie. files are moved
  103.       during restoration instead of being copied)
  104.     - You recieve a personalized registered copy with the
  105.       shareware notice removed.
  106.     - You recieve the newest version.
  107.     
  108.  
  109.  
  110. -----------------------------------------------------------------------
  111. Disclamer: (the standard #include disclamer.h)
  112.  
  113. Ramdisk saver is distributed without waranty, expressed or implied.
  114. It has been tested thoughly, however it is impossible to test every
  115. configuration on every system.  The user assumes full risk as to the
  116. results of using this program.  in no event will the author or 
  117. TPA Electronics and Softwarz be liable any incidental or consequentail
  118. damages caused by the use of this program.  Any liablility will be
  119. limited exclusively to replacement of the program in the same form.
  120.  
  121.  
  122. -----------------------------------------------------------------------
  123. Programing Notes:
  124.  
  125. RAMSAVE also intercepts int 19h.  This is the standard DOS bootstrap.
  126. Normally int 19h is not a safe method of rebooting the computer, I've seen
  127. many problems doing so.  However, RAMSAVE intercepts int 19h, trys to 
  128. copy all files from the ram disk and reboots in a safe manner.  Simply put,
  129. when RAMSAVE is loaded int 19h will reboot the computer.  So for those
  130. of you writeing programs that reboot at a specific time, after so many rings
  131. (modem), etc. you can use int 19h to safely reboot the computer and copy
  132. all files from the ramdisk. RAMBOOT is included to intercept int 19h and 
  133. reboot safely without requireing RAMSAVE. (However RAMBOOT does not
  134. copy the files from the ram disk.)
  135.  
  136. You may distribute RAMBOOT.COM as freeware with your programs.  You
  137. may distribute the shareware version of RAMSAVE only if all the files
  138. are included intact.
  139.  
  140.  
  141. -----------------------------------------------------------------------
  142. Ordering information:
  143.  
  144. Cost: Includes shipping.
  145.     private use                - $6
  146.     organizational, company or site license    - $15
  147.  
  148. Internet discount:
  149.     If you have an e-mail address and can UUDecode and unzip
  150.     the archive I will mail you the program in a UUEncoded zip
  151.     archive at a discount.
  152.      Discount price:      private use        - $4
  153.             organizational etc.    - $10
  154.  
  155. To order the registered version send:
  156.     Check of money order payable to Tim Arheit.
  157.     E-mail address if you wish to recieve the program by e-mail.
  158.     Name and address where to send the program.
  159.     Size of disk (5.25" or 3.5") to send program on.
  160.     Name of person, company, or organization to register
  161.         program to as you want it to appear.
  162.     
  163.     
  164.     To:    Tim Arheit    <- make checks/money order payable to.
  165.         2701 Allentown Rd.
  166.         Lima, OH 45805
  167.  
  168. Notes:
  169.     Money order is prefered.  If a check is sent it must be cleared
  170.        before the program is sent.
  171.     The program will not be registered to a company or organization
  172.        for the private use cost.
  173.     For orders from outside the US and Canada add $2 unless the
  174.        program is to be sent via e-mail.
  175.     Checks and Money orders must be in US dollars.
  176.  
  177.  
  178. -----------------------------------------------------------------------
  179. Thanks to Wes Hsu for beta testing RAMSAVE for me.
  180.  
  181. Send bug reports and suggestions to the above address or by e-mail
  182. to: tarheit@jupiter.cse.utoledo.edu
  183.  
  184.